<?php

use Illuminate\Routing\Router;

Route::group([
    'prefix'        => 'admin/BasicSetting',
    'namespace'     => 'Beerus\\Modules\\BasicSetting\\Controllers',
    'middleware'    => [
        'web',
        'admin',
    ],
], function (Router $router) {
    // 荣耀值
    $router->get('/operator', 'OperatorController@index')->name('operator.list');
    $router->get('/operator/create', 'OperatorController@edit');
    $router->post('/operator/save', 'OperatorController@editSubmit');
    $router->get('/operator/{id}/edit', 'OperatorController@edit');
    $router->delete('/operator/{id}', 'OperatorController@del');

    $router->get('/area_list', 'AreaController@index');

});
